<form id="user-msg-info-form">
	<table class="table table-bordered user-msg-info" style="margin-bottom:0px">
		<tr>
			<td>姓名</td><td><input type="text" class="form-control" name="name" value="{$userInfo.name}"/></td>
			<td>男</td><td><input type="radio" style="margin: auto;" name="gender" value="男" id="man" class="form-control" <if condition="$userInfo.gender eq '男'">checked<else /></if> /></td>
			<td>女</td><td><input type="radio" name="gender" style="margin: auto;" value="女" id="woman" class="form-control" <if condition="$userInfo.gender eq '女'">checked<else /></if> /></td>
		</tr>
		<tr>
			<td>部门</td>
			<td colspan="5">
				<select class="form-control" name="department_id" style="width:60%;">
					<option value="-1">未审核</option>
					<volist name="list" id="vo">
					<option value="{$vo.department_id}">{$vo.department_name}</option>
					</volist>
				</select>
			</td>
		</tr>
		<tr><td>手机</td><td colspan="5"><input type="text" class="form-control" name="mobile" value="{$userInfo.mobile}"/></td></tr>
		<tr><td>邮箱</td><td colspan="5"><input type="text" class="form-control" name="email" value="{$userInfo.email}"/></td></tr>
		<tr><td>备注</td><td colspan="5"><textarea name="remark" class="form-control" value="{$userInfo.remark}"></textarea></td></tr>
	</table>
</form>
<script>
	if("{$userInfo.department_id}" == ""){
		$("select[name='department_id']").val("-1");
	}else{
		$("select[name='department_id']").val("{$userInfo.department_id}");
	}
</script>